Skip to content

feat(agc): look up table images at run time through a device image table on the GPU heap (APS5_GPU_PATH) - #74

Draft
Thimo188 wants to merge 175 commits into
mainfrom
upstream-pr/7642
Draft

Thimo188 wants to merge 175 commits into
mainfrom
upstream-pr/7642

Conversation

@Thimo188

@Thimo188 Thimo188 commented Dec 2, 2026

Copy link
Copy Markdown
Owner

Imported from boykopovar/AnyPS5#7642, originally opened by EagleBearerYS.

Source commit: 2eb37516af1e94aa481a1c34f8cead9cdab7ef90. The import branch preserves this fetched upstream PR snapshot. The description and validation below are copied from upstream; no new code changes or test runs were made for this import. Original reviews, discussions, and attachments remain at the linked upstream PR.


Stacked on boykopovar#9508 (Raghav314's GPU descriptor heap on VK_EXT_descriptor_heap), so it merges after boykopovar#9508. This head merges boykopovar#9508's fbab1c1 (in 67420fb), which carries main 87448b3. boykopovar#9508's newer 73c5187 (constant samplers embedded in GPU heap pipelines) isn't merged here yet. The device path is opt-in behind APS5_GPU_PATH=1, on top of boykopovar#9508's APS5_GPU_HEAP=1; with either unset, nothing changes.

What

Shaders that load a T# from an image table at a key they compute (bindless tables, V#-addressed T# arrays) can only be bound today if the CPU snapshots and resolves every table record for every draw: the CPU table path. With large tables that's most of a draw's cost. On a Village-shaped lavapipe bench (a 32,768-record V# table, 256 textures, 850 indirect draws per frame), the CPU table path spends 14.7–16.5 ms per draw in descriptors alone, and runs out of memory within 30 s. Lavapipe's 256-byte descriptors make that larger than a GPU driver would, so the title measurement under Pending is the number that counts.

With APS5_GPU_HEAP=1 APS5_GPU_PATH=1, such a T# is looked up on the GPU instead.

  • The recompiler emits, for each device-table image read in a GPU-mode stage, a lookup in a device-side hashed key table. The key is the T#'s words, the image interface and the sampler class. A hit gives the image's slot in feat(agc): GPU descriptor heap on VK_EXT_descriptor_heap (APS5_GPU_HEAP) boykopovar/AnyPS5#9508's GPU descriptor heap (BindlessHeap::TextureSlot), and the shader samples through that slot.
  • A miss or a null T# reads zeros and appends one record per distinct key per batch to the batch's miss ring.
  • After the batch, the driver resolves each missed key with the CPU table path's own checks, takes a heap slot, and inserts the entry before the next batch.
  • First use reads the texels. Before a draw stage or dispatch is recorded, the driver evaluates which T#s its device-table reads will select for its user data (ExpectedDeviceImages) and inserts those keys first. A per-thread memo keeps that at about 4 µs per draw in steady state on the bench.
  • Fallbacks:
  • Freshness: entries follow the write watch, GPU writes and the texture cache. Entries over host-imported memory, which isn't watched, are proved unchanged by a content compare instead of being looked up again every frame.
  • The table's header is written when the table is created (447b798239). The key table is device-local memory that nothing cleared, and its header reached the GPU only through the first upload, so a GPU-mode program that ran before that batch read whatever the memory held as the bucket mask and probed outside the table. The table is now cleared and its header written in one batch when it's created.
  • feat(agc): GPU descriptor heap on VK_EXT_descriptor_heap (APS5_GPU_HEAP) boykopovar/AnyPS5#9508's heap: this uses its GPU-mode stages, set-1 heap arrays, BindlessHeap::TextureSlot and its NearlyFull margin as they are. The table takes no slot while NearlyFull holds and reserves none. Each entry holds its texture, and each Prepare marks the live entries' slots used in the heap's epoch (92c6dab397), so feat(agc): GPU descriptor heap on VK_EXT_descriptor_heap (APS5_GPU_HEAP) boykopovar/AnyPS5#9508's idle-slot eviction doesn't take a slot the table serves. The table drops every key whose SlotGeneration moved, after the last point in Prepare that can submit and before it uploads.
  • The ABI change (bbb446f55d, on its own so it can be reviewed alone): four words just before map[HeaderElementBase] in the heap table map, the bucket buffer's device address and the open batch's miss-ring chunk address. They're all zero when no device table is attached, so maps without a table behave as now. ImageTableAbi::Version goes 2 → 3, and every heap map carries the trailer, which adds 16 bytes per stage map. A column served by the device table writes no per-element slot parts. Raghav314 agreed to the trailer and the version bump (reply).
  • Switches:
    • APS5_GPU_PATH=1 turns it on. Without APS5_GPU_HEAP=1 and a device with VK_EXT_descriptor_heap, it stays off and says why;
    • APS5_NO_DEVICE_IMAGE_EXPECT=1 leaves first uses to the miss ring;
    • counters are in the [device-images] lines under APS5_PROFILE_DRAW=1.

Credit:

Pending

Limitations

  • Hull, domain and local stages keep the CPU table path.
  • A direct VulkanDevice::Draw outside the driver with device-table results isn't served, so agc_driver_image_table's graphics part fails with the switch on. Only tests and tools draw that way.
  • agc_driver_bindless_images asserts CPU table behaviour, so it fails with the switch on.
  • Mesh stages read device tables, but haven't run on lavapipe, whose LLVM can't compile recompiled NGG mesh modules.
  • Without host imports (Linux without /dev/udmabuf), a draw copies its V# table and rebuilds its resources every draw.

Tested

Checklist

Raghav314 and others added 30 commits October 25, 2026 02:33
Co-authored-by: Yunus Shaikh <75296019+EagleBearerYS@users.noreply.github.com>
…pair

Load a released resource plan instead of treating the stage as planless, and on the first mixed retry drop reused per-draw stages so they rebuild in GPU mode.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…them per use

A GPU-mode stage's shader data, flattened SRT and image table map reuse the ring span written for the same words while the batch still holds its chunk, so a repeated draw or dispatch points at the table already in the heap. [gpu-heap] reports ring spans written and kept.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…and slots are unchanged

writeHeapStage skips validating, patching and copying the shader data words when the guest words and user data match the previous write, the stage's slots are current and the span is still held. APS5_VERIFY_GPU_HEAP recomputes the words and fails if they would differ.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ap under APS5_PIPELINE_STATS

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…n the heap

Ring spans stay held while their chunk was not re-entered: a kept span
reopens its chunk for the batch, and the ring skips chunks a batch still
reads from. The [gpu-heap] line counts expired spans.

Image detiles in heap mode push the tiled buffer address and index a
storage view slot that the texture releases when it is destroyed, so they
bind no descriptor set.

[rescache] gains the fast/full revalidate time split and why storage
keys fail the fast proof.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A storage owner the sweep drops last can be a StorageTexture whose
release frees its view slots through the heap; dropping it under the
heap mutex deadlocked. The sweep now hands such owners out and they are
released once the locks are gone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s on the heap

A storage image whose keys moved since its upload (a fast clear over a
surface uploaded uncompressed) no longer sends the revalidation to the
full walk: the image's own refresh applies the clear and the fast proof
runs again, as for foreign pending images. The refresh proof tests get
their own ctest entry and cover the path.

CMASK clears in heap mode push the CMASK and error buffer addresses and
index the target's view slot instead of binding a descriptor set. The
heap registry mutex outlives static destruction, so a storage image
released at exit can still free its view slots.

The heap draw test replays the first texture draw after another texture
churned the slots.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The memo keys mix every user data word, so a title whose user data moves
each frame fills its 16384 keys within seconds; clearing it then sent
every heap stage of the next frame through a full walk and materialize at
once (20 ms frames every few seconds in Minecraft Dungeons II). A full
memo now becomes the previous generation, and a hit there moves the entry
back.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… too

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A relocated copy of a cached draw dropped ring, ringAttributes, ringFlat
and ringBindings, so a heap stage hitting it ran without per-draw heap
words and drew with the donor's template data (Hades II black flicker).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
buildRingWords cleared the stored ShaderData words, so a ring hit fell
back to the template's words past the user-data prefix; it now copies the
current user words over the stored ones.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Rotating the two-generation memo destroyed the whole previous generation
(up to 16384 keys of captures and words) on the draw thread, a 16-20 ms
heap_direct stall every few seconds in MC D2. Each insert now frees two
old entries, so the old generation is empty before the next rotation.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…PIPELINE_STATS

Per-call time of the draw stage's preparation, heap stage call, walk memo, walk, materialize and finish on
the queue worker, and of the resource template find and build, slot mapping, stage data and buffer
address writes on the committer.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…cost line

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…its key

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
An indirect dispatch with USE_THREAD_DIMENSIONS stores its thread limit in
the ShaderData words at record time, which heap stages keep in a ring span,
so these dispatches were kept off the heap. The limit now goes into the
dispatch's ring span: the stage takes a fresh span before its data is
written and drops it afterwards, so a kept span that other dispatches read
never changes. The ring takes transfer writes for the copy.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ces too small for its slots

The sampler heap held 256 samplers, an eighth of what D3D12 allows, so
scenes with many samplers swept it early. It now holds 2048, which fits
NVIDIA's sampler heap beside its embedded sampler range. A device whose
resource or sampler heap cannot hold the slots no longer enables the heap
and takes the per-draw path, instead of failing at the first heap use.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…es the per-draw path

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…and buffer back in classic descriptor mode

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…tor heap

agc_driver_heap_draw_sample_heap, _nogpl_heap, _full_heap and
_full_heap_pipelined, and agc_driver_pipeline_journal_gpu_heap set
APS5_GPU_HEAP and then require the heap to take the draw's stages, to
refuse a capped heap or to put a compute stage in GPU mode. On a device
where DescriptorHeapEnabled() stays false (no VK_EXT_descriptor_heap, or
one without maintenance5, room for the heap's slots or enough push data)
none of that can happen, and they failed instead of skipping. They now
exit 77 with a "skipped, the device lacks VK_EXT_descriptor_heap, ..."
line there, and run as before on a device with the heap.

(cherry picked from commit 0a01340)
A run with APS5_GPU_HEAP recorded its pipelines in the same journal as a
run without it, so each mode replayed the other's records: those failed
at the pipeline layout check, and they took places in the replay limit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
With the descriptor heap on, buffers are reached through buffer
addresses, which have no Coherent buffer array and no 64-bit view. GLC
loads and stores became plain 32-bit accesses, so a compute shader that
polls a queue slot another workgroup writes never saw the write and the
GPU hung (RoboCop: Rogue City at the splash, Xid 109).

GLC dword accesses through a buffer address are now device-scope atomic
loads and stores, and GLC two-dword accesses use one 64-bit atomic as the
storage-buffer path does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…r cache invalidation

A program with GLC or DLC accesses that invalidates the vector caches
reads the whole guest buffer array as Coherent on the storage-buffer
path, so its loads without GLC see other work-groups' writes after the
invalidation. Through buffer addresses those loads and stores stayed
plain. They are now device-scope atomic loads and stores in such
programs, as GLC accesses already are.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Raghav314 and others added 27 commits November 3, 2026 22:09
…axis

RunDispatchArguments put its oversized group count, 0xffffffff, on X. AMD's
Windows driver and RADV report a maxComputeWorkGroupCount X of 4294967295, so the
count was within the limit and the refusal check failed. The count now goes on
the axis with the lowest limit, at that limit plus one, and the refusal check is
skipped when every axis allows UINT32_MAX.

createPushOnlyHeapPipeline returns no pipeline when creating it throws, so a
refused heap variant leaves the classic dispatch-argument and mesh-argument
pipelines in use.

Drops the explanatory comments added in Recorder.hpp, HeapTemplateBudget.hpp and
PushOnlyHeapPasses.cpp.
Mesh and tessellation stages, compute stages without images, GDS and the fault
buffer all map onto the heap now; geometry stages and registration modules'
set 0 storage images are what still take the per-draw path.
agc_driver_tessellation_submit now also submits the tessellation and geometry
routing (VGT_SHADER_STAGES_EN 0x212d, the domain program merged with its
geometry half), so the inserted capture geometry shader runs through the PM4
draw path. Under APS5_GPU_HEAP every guest stage of that draw takes the heap,
which the existing data-address push check requires.

The debt entry no longer lists geometry stages as per-draw: the only geometry
stages are host-generated, declare no descriptors and map onto the heap.
…l destructors

RingBufferDescriptors kept its descriptor info and host range vectors in
thread_local objects with destructors, which prx_thread_local_destructors
rejects on MinGW: the destructor runs after emulated TLS freed the object.
Both now live in HostThreadLocal, like ShaderResources::ringDescriptors.

Under APS5_VERIFY_GPU_HEAP a stage whose inputs and descriptor run would have
been kept recomputes the run's buffer ranges and fails if the kept run would
bind other buffers.

The tessellation-and-geometry submission is its own registration,
agc_driver_tessellation_submit_geometry (and _gpu_heap), which exits 77 on a
device without geometry shaders or subgroup operations in
tessellation-evaluation shaders.
Conflicts:
- VulkanDevice.cpp: main's zeroed empty and oversized placeholders, then the
  heap log line.
- Recompiler.cpp: the heap specialization key takes main's V# size tail bits
  in both places it keys buffer fields.
- SpirvRuntimeBuffer.cpp: readBuffer takes main's boundedEnable; raw-address
  reads stay non-exact and keep their length check.

Main's staged merge target takes the view of MultisampleTargetStorageView's
result. Main's depth-to-storage and staged-merge passes bind through
CmdPushDescriptorSet, CmdBindDescriptorSets and CmdPushConstants, so a heap
draw or dispatch after them binds the descriptor heaps again; recorded
directly, the heap dispatch after a depth-to-storage pass ran without heaps
and agc_driver_depth_storage_dispatch, depth_plane_partial_store and
depth_plane_buffer_memory failed in heap mode.
…through CmdBindDescriptorSets

These classic binds were recorded directly, so the heap tracker would not
learn that the command buffer left descriptor-heap mode. They only run for
per-draw pipelines, whose other sets already go through the wrapper, so no
heap draw ran without its heaps; routing them through the wrapper keeps every
classic bind visible to it.
FirstSampleCopy::Record recorded vkCmdBindDescriptorSets directly into the
active recorder's command buffer. A stage reading sample 0 of a 2D MSAA
texture records that copy while a heap draw captures its resources, so in a
heap draw, first-sample copy, heap draw sequence the heap tracker still listed
the command buffer as bound and the second draw ran without its heaps. The
bind now goes through the wrapper, which clears that entry.

agc_driver_sample_multisample_target checks it in heap mode: it binds the
heaps on the active recorder, records a first-sample copy through
MultisampleTargetFirstSample, and requires the next BindDescriptorHeaps to
bind again. The check failed before the fix.
… uploads

agc_driver_sampled_cache_budget_heap_view set APS5_SYNC_TEXTURE_UPLOAD=1 so
that its recovery check could free exactly one of two textures. With
asynchronous uploads the active recorder keeps each texture's image until
its batch completes, and a finished batch's kept objects are destroyed on
the release thread only after the GpuMutex hold ends. The recovery, which
counts bytes actually freed since boykopovar#10472, then freed nothing on the test's
thread and evicted both textures.

The check now syncs the active recorder before the recovery, and the test
runs with APS5_RELEASE_UNDER_LOCK=1, so the synced batches' images are freed
inside Sync(). Uploads stay asynchronous, the default path. Without the sync,
or without the switch, the check fails as before.
In descriptor-heap mode the driver's internal passes recorded classic
descriptor binds or push constants. Each one put the command buffer back in
classic mode, so the next heap draw or dispatch bound the heaps again.

Like vkd3d-proton's meta shaders, each pass now has a heap twin pipeline:
the same SPIR-V with a null layout and the descriptor-heap flag, buffers
mapped to pushed addresses, and images mapped to heap slots indexed from
push data. The pass's push constants stay at push-data offset 0, with the
addresses and slot indices after them. The classic pipeline is still used
outside heap mode, and when no slot is free or the twin cannot be created.

Passes: color transfer, multisample readback and upload, staged merge, depth
to storage, first-sample copy (its sampler embedded in the mapping), sample
order (storage and depth halves), and the detiler's buffer detile and repack.
A buffer detile that the descriptor shader would run through its word path
(elements under 4 bytes) keeps the addressed shader, which reads the same
push layout: on RADV the word path costs 71 instructions against 40.
Slot owners release their slots before they destroy the views; a staged
write keeps the merge target that owns its slot.

Tests: the sample order and multisample readback tests give their passes a
slot owner and require, in heap mode, that recording a pass does not make
the heaps bind again. The first-sample check now requires the same. The
heap slot tests set APS5_HEAP_SLOT_CAP before opening the device, since the
twins create the heap while it opens.
Since address-based draws became reusable over their cached space,
PrepareDrawBindings gives them per-draw copies of guest memory: a
snapshot of every read-only input on a build, and a copy of every
read-only buffer that moved on a reused hit. Heap stages bind those
copies through their ring descriptors, so a draw reads memory as the CPU
saw it at record time instead of at execution, and Minecraft Dungeons II
shows flickering shadows.

Heap stages of an address draw now read guest memory in place, as the
BDA table and the hardware do. No snapshot is taken, and a moved buffer
is viewed at its new address through the build's own memory
(GuestBufferMemory::TryDescriptor, a non-throwing Descriptor). A hit
whose moved buffer the build's memory cannot view with the alignment
offset the build baked into the shader data is built again.

The heap variant of the address draw reuse test never built heap
stages; --heap-stages compiles both stages for the heap and checks that
a CPU write and a buffer moved inside the space are read in place, with
no copies taken (DrawInputCopies), and that a move off the build's alignment
is refused. Heap stages report no BDA fault per
use, so that case is skipped there and listed in the debt file.
…ignature

Descriptor-heap stages read their root (ring, pagetable, fault and GDS addresses, stencil reference, and each stage's data offset, SRT index, SRT size and table map) and their shader data (heap slot indices, image first elements, user data, memory offsets, image metadata) from push data, as vkd3d-proton maps a root signature and PS5 delivers user SGPRs. Like a root signature, a graphics pipeline gets one layout for all its stages: nothing is reserved; the driver packs only the root items its stages read and each stage's wanted shader-data dwords into the 64 push dwords (the pixel stage from the top, pre-rasterization stages from the bottom, the mesh, tessellation, depth-remap and compute words kept clear only when used, pushed data shared evenly when short) and passes the positions as specialization constants. A pixel stage that fits is placed as it is alone, so its fragment library stays shared. Shader data that does not fit stays in the ring. APS5_NO_HEAP_PUSHED_DATA reads all shader data from the ring.
The heap branch encodes new artifact (gpuResolvedImages, sampler slot and buffer address dwords, pushed data, push items, data-address push, BDA stores), invocation (heap slot words) and binding-layout fields (data address, slot and address dword counts, pushed data, heap storage images, GPU-resolved images), so its entries need their own format number above main's.
… device

A nearly full GPU heap used to send every draw down the per-draw path until
owners released slots. Like vkd3d-proton, which leaves descriptor lifetime to
the heap's owner, the heap now frees the image slots no draw has used for two
submissions. An evicted slot moves its generation, so templates holding it
take fresh slots on their next draw, and it is handed out again only after the
submission that followed the eviction completes. Draws that keep using a slot
refresh it on every heap stage write. APS5_NO_HEAP_EVICTION turns it off.

The image heap length is now the HeapImageSlots specialization constant
instead of a constant in the module, the way vkd3d-proton sizes its heap
arrays at pipeline creation. Pipelines set it to the device heap's slot count,
which grows past the ABI's 233472 into resource heap space the shader data
ring leaves unused, up to 524288 slots. Shader disk cache format 58.

The 10 s [gpu-heap] line adds the slot count, evictions and their waits, and
ring waits, the largest bytes one batch wrote into the ring and the largest
span.
…ers them

Review of the eviction found that the margin counted evicted slots before any
submission had a serial for them, so a busy batch could drain the free list
without refusing the heap and fail a draw with "the global image heap is
full". The margin now counts only evicted slots a submission covers, eviction
starts at twice the margin, scans at most once per submission, needs the
recorder timeline, and reclaims once per submit instead of per taken slot.
A blocking reclaim waits only on submitted serials, heap stages refresh their
slots once per submission, and the validator checks the image table alias is
an array before reading its length.

The [gpu-heap] line adds ring MiB written per 10 s and image slots held.
A draw that reuses a ring span it wrote earlier reopens the span's chunk, so
the chunk takes the serial of the newest batch, and when the ring came round
to it later it waited for a batch the GPU had only just started: every ring
wait in a MCD2 run was of that kind. Like vkd3d-proton, which takes another
scratch buffer instead of waiting for one the GPU still reads, the ring now
skips such a chunk. Only when every chunk is taken or busy does it wait, and
then on the chunk whose batch is oldest.

APS5_HEAP_RING_MIB sets the ring size between 4 and 64 MiB (default 64, less
when it sits in a smaller resource heap). MCD2 writes up to ~10 MiB in one
batch and stops with "one batch's shader data exceeds its ring" at 8 MiB, so
the default stays as large as the heap allows.
Shader data, flattened SRT data and table maps lived in the descriptor
ring inside the resource heap. A batch writing more than the ring held
aborted the run, and the ring took heap room from images.

They now go into a pool of 2 MiB blocks, the way vkd3d-proton's
uniform upload pool works. A batch takes new blocks instead of waiting,
a span larger than a block gets a block of its own, a block is reused
once the GPU has finished the batches that read it, and idle blocks
over 32 MiB are freed. Shaders read the data through 64-bit addresses
pushed per draw (shader data, table map, addressed flattened SRT), so
the shared ring address push item is gone; the push-data size stays
about the same. The ring inside the heap now holds only per-draw buffer
descriptors and defaults to 16 MiB.

The shader cache format moves to 59.
…ptor ring

A batch writing more per-draw buffer descriptors than the ring holds
aborted the run. Before each draw and dispatch the recorder now submits once the
open batch holds half the ring's chunks, and one draw may take at most a
quarter of the ring, so a batch always fits.
SpirvBufferAccess.hpp: boykopovar#9508's five RootItem declarations plus boykopovar#7642's EmitAddressWordPointer; the old field-based root declarations go, as boykopovar#9508 drops them.
SpirvBufferAccess.cpp: boykopovar#7642's EmitAddressWordPointer kept, followed by boykopovar#9508's RootItem EmitRootAddressWordPointer, EmitRootAddressReadOnlyWordPointer, EmitRootAddress and EmitStageRingWordPointer.
ShaderDiskCache.hpp: FormatVersion 62 (boykopovar#7642).
ShaderDiskCache.cpp: encode and decode take pushedData and pushItems, then deviceImageTables, after bufferAddressCount; sizes 328/288/712/424/256 and field counts ImageResource 51, SampledResourcePair 4, DeviceImageUse 4.
PipelineSpecialization.hpp: MirrorUnnormalizedBase, MinLodBase and VolumeGatherBase from boykopovar#9508, then DeviceSamplerClassBase = 58368u.
CacheKey.hpp: hostInterpolationFirst and shaderImageMinLod from boykopovar#9508, then deviceImageTables.
IrMetadata/Resources.hpp: boykopovar#9508's MirrorsIfUnnormalized, then boykopovar#7642's NoSampler and DeviceImageUse.
Recompiler.hpp: hostInterpolationFirst and shaderImageMinLod from boykopovar#9508, then deviceImageTables.
Recompiler.cpp: materializeResult takes pushedData, pushItems and deviceImageTables; RecompileImpl builds each result as a value, sets deviceImagePlan when deviceImageTables, then returns make_shared<const> of it, keeping boykopovar#9508's CountedCompile.
ResourceMaterializer.cpp: boykopovar#7642's !deviceTable guard on boykopovar#9508's new fill(fill, ..., tables.tables.at(...), Abi::TableHeader(...)) call.
ShaderResources.cpp: boykopovar#9508's SampledLookupKeyProofs and DrawInputCopies, then boykopovar#7642's LookupDeviceTableTexture and DeviceTableTextureCurrent.
tests/BindlessHeapSlots.cpp: boykopovar#9508's side, which already sets APS5_HEAP_SLOT_CAP before opening the device and adds the busy-chunk and large-span cases.
tests/ShaderDiskCache.cpp: both comparisons and both setters, windowLaneGuards then the device image fields.
tests/ShaderMemory.cpp: boykopovar#7642's device image table and trailer checks, then boykopovar#9508's verifyPointerTableUnwrittenReuse, and both dispatch entries.
…till reads them

Prepare swept the table's slots and then waited in chunkFor for a free miss-ring
chunk, and that wait can submit the open batch. boykopovar#9508's eviction at that
submission retires slots the table never touched after taking them, so the next
batch read a slot the heap had retired and could reuse through the uploaded table.

Prepare now sweeps again and uploads after chunkFor, the last point at which it
can submit, so the batch that reads the table never sees an entry whose slot
moved. It also touches every live entry's slot once per heap epoch through a new
Slots::touch, which the GPU heap maps to TouchSlots, so eviction no longer counts
slots the table still serves as idle.
tests/ShaderMemory.cpp: the --device-image-tables and --table-trailer dispatch branches, then main's --registered-view-churn branch, each closed as its side had it.
IrMetadata/Resources.hpp: NoSampler and DeviceImageUse, then main's AppliesLodBiasInShader; each is defined once.
PipelineSpecialization.hpp: main's SamplerLodBiasBase = 57728u and SamplerLodBiasShaderThreshold = 15.0f, then DeviceSamplerClassBase = 58368u.
mixImageInterface left out layerRowsCompatible, layerRows,
maxArrayLayers and volumeGather, which the registry's comparison of
interfaces checks. Two interfaces that differed only in one of them got
the same id, and RegisterDeviceImageInterface threw "two image
interfaces share the id". Reported on Death Stranding 2 (PPSA02015).

Co-authored-by: muhmuhkuh <7206056+muhmuhkuh@users.noreply.github.com>
@github-actions github-actions Bot added the unblocks title Names a title ID on the Unblocks line label Dec 2, 2026
@github-actions

github-actions Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.

Pull request Conflicting files (lines on main) Same exports Same new files
PR 28 core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_gpu_indirect_arguments_misaligned_writer_ahead_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_gpu_indirect_arguments_written_ahead_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_indirect_arguments_written_ahead_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_indirect_patched_stage_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_rect_list_indirect_tests.cmake
PR 106 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Draw/HeapStages.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/HeapStages.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/BindlessHeap.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/DescriptorHeapObjects.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/BindlessHeap.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/DescriptorHeapObjects.cpp
core/libs/prx/libSceAgcDriver/tests/BindlessHeapSlots.cpp
core/libs/prx/libSceAgcDriver/tests/PushDataPlacements.cpp
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_bindless_images_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_buffer_atomics_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_buffer_format_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_compute_table_calls_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_depth_storage_dispatch_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_dispatch_move_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_draw_data_hit_user_words_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_draw_relocate_user_values_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_fragment_user_data_tail_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_gpu_indirect_arguments_misaligned_writer_ahead_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_gpu_indirect_arguments_written_ahead_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_heap_compute_sample_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_heap_draw_sample_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_heap_slots_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_atomics64_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_atomics_bitwise_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_atomics_float_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_atomics_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_cache_bits_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_gather_one_dimensional_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_load_packed_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_sample_border_color_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_sample_derivatives_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_sample_shared_sampler_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_srgb_load_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_store_array_through_volume_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_store_face_on_cube_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_store_float_rounding_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_store_line_through_plane_array_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_store_line_through_plane_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_store_packed_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_store_sint_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_store_unorm_rounding_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_store_volume_through_array_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_table_cache_bounds_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_texel_status_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_indirect_arguments_written_ahead_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_indirect_patched_stage_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_lds_beyond_device_limit_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_mesh_draw_relocation_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_mesh_index_cache_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_mesh_provoking_vertex_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_pixel_barycentric_emulation_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_push_data_placements_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_push_only_heap_passes_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_recorded_draw_staging_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_rect_list_indirect_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_scratch_pool_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_storage_one_slice_alias_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_tessellation_submit_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_view_past_last_mip_tests.cmake
core/libs/prx/libSceAgcDriver/tests/execution/DeviceFunctionCache.cpp
core/libs/prx/libSceAgcDriver/tests/execution/HeapComputeSample.cpp
core/libs/prx/libSceAgcDriver/tests/execution/HeapDrawSample.cpp
core/libs/prx/libSceAgcDriver/tests/execution/HeapSampleKernel.hpp
core/libs/prx/libSceAgcDriver/tests/execution/HeapTableStageReuse.cpp
core/libs/prx/libSceAgcDriver/tests/execution/PushOnlyHeapPasses.cpp
core/libs/prx/libSceAgcDriver/tests/execution/TessellationSubmit.cpp
core/shader/recompiler/HeapTemplateBudget.hpp
core/shader/recompiler/PushDataLayout.hpp
core/shader/recompiler/tests/HeapTemplateBudgetTests.cpp
PR 131 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Draw/HeapStages.hpp
core/libs/prx/libSceAgcDriver/Execution/include/Driver/Draw/HeapWalkMemo.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/HeapStages.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/BindlessHeap.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/DescriptorHeapObjects.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/DeviceImageKeys.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/DeviceImageTable.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/BindlessHeap.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/DescriptorHeapObjects.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/DeviceImageKeys.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/DeviceImageTable.cpp
core/libs/prx/libSceAgcDriver/tests/BindlessHeapSlots.cpp
core/libs/prx/libSceAgcDriver/tests/DeviceImageKeys.cpp
core/libs/prx/libSceAgcDriver/tests/HeapWalkMemo.cpp
core/libs/prx/libSceAgcDriver/tests/cmake/agc_device_image_keys_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_bindless_images_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_buffer_atomics_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_buffer_format_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_compute_table_calls_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_depth_storage_dispatch_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_device_image_path_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_device_image_table_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_dispatch_move_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_draw_data_hit_user_words_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_draw_relocate_user_values_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_fragment_user_data_tail_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_gpu_indirect_arguments_misaligned_writer_ahead_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_gpu_indirect_arguments_written_ahead_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_heap_compute_sample_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_heap_draw_sample_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_heap_slots_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_heap_walk_memo_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_atomics64_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_atomics_bitwise_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_atomics_float_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_atomics_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_cache_bits_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_gather_one_dimensional_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_load_packed_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_sample_border_color_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_sample_derivatives_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_sample_shared_sampler_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_sint8_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_srgb_load_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_store_array_through_volume_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_store_face_on_cube_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_store_float_rounding_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_store_line_through_plane_array_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_store_line_through_plane_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_store_packed_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_store_sint_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_store_unorm_rounding_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_store_volume_through_array_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_table_cache_bounds_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_texel_status_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_indirect_arguments_written_ahead_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_indirect_patched_stage_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_lds_beyond_device_limit_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_mesh_draw_relocation_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_mesh_index_cache_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_mesh_provoking_vertex_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_pixel_barycentric_emulation_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_rect_list_indirect_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_storage_flush_ordering_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_storage_one_slice_alias_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_tessellation_submit_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_view_past_last_mip_tests.cmake
core/libs/prx/libSceAgcDriver/tests/execution/DeviceFunctionCache.cpp
core/libs/prx/libSceAgcDriver/tests/execution/DeviceImagePath.cpp
core/libs/prx/libSceAgcDriver/tests/execution/DeviceImageTable.cpp
core/libs/prx/libSceAgcDriver/tests/execution/HeapComputeSample.cpp
core/libs/prx/libSceAgcDriver/tests/execution/HeapDrawSample.cpp
core/libs/prx/libSceAgcDriver/tests/execution/HeapSampleKernel.hpp
core/libs/prx/libSceAgcDriver/tests/execution/HeapTableStageReuse.cpp
core/libs/prx/libSceAgcDriver/tests/execution/TessellationSubmit.cpp
core/shader/recompiler/DeviceImageTableAbi.hpp
core/shader/recompiler/HeapTemplateBudget.hpp
core/shader/recompiler/tests/HeapTemplateBudgetTests.cpp
PR 151 core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_cache_bits_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_texel_status_tests.cmake
PR 253 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Draw/HeapStages.hpp
core/libs/prx/libSceAgcDriver/Execution/include/Driver/Draw/HeapWalkMemo.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/HeapStages.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/BindlessHeap.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/DescriptorHeapObjects.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/DeviceImageKeys.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/DeviceImageTable.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/BindlessHeap.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/DescriptorHeapObjects.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/DeviceImageKeys.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/DeviceImageTable.cpp
core/libs/prx/libSceAgcDriver/tests/BindlessHeapSlots.cpp
core/libs/prx/libSceAgcDriver/tests/DeviceImageKeys.cpp
core/libs/prx/libSceAgcDriver/tests/HeapWalkMemo.cpp
core/libs/prx/libSceAgcDriver/tests/cmake/agc_device_image_keys_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_bindless_images_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_buffer_atomics_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_buffer_format_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_compute_table_calls_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_depth_storage_dispatch_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_device_image_path_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_device_image_table_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_dispatch_move_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_draw_data_hit_user_words_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_draw_relocate_user_values_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_fragment_user_data_tail_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_gpu_indirect_arguments_misaligned_writer_ahead_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_gpu_indirect_arguments_written_ahead_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_heap_compute_sample_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_heap_draw_sample_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_heap_slots_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_heap_walk_memo_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_atomics64_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_atomics_bitwise_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_atomics_float_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_atomics_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_cache_bits_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_gather_one_dimensional_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_load_packed_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_sample_border_color_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_sample_derivatives_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_sample_shared_sampler_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_sint8_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_srgb_load_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_store_array_through_volume_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_store_face_on_cube_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_store_float_rounding_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_store_line_through_plane_array_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_store_line_through_plane_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_store_packed_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_store_sint_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_store_unorm_rounding_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_store_volume_through_array_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_table_cache_bounds_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_texel_status_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_indirect_arguments_written_ahead_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_indirect_patched_stage_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_lds_beyond_device_limit_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_mesh_draw_relocation_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_mesh_index_cache_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_mesh_provoking_vertex_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_pixel_barycentric_emulation_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_rect_list_indirect_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_storage_flush_ordering_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_storage_one_slice_alias_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_tessellation_submit_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_view_past_last_mip_tests.cmake
core/libs/prx/libSceAgcDriver/tests/execution/DeviceFunctionCache.cpp
core/libs/prx/libSceAgcDriver/tests/execution/DeviceImagePath.cpp
core/libs/prx/libSceAgcDriver/tests/execution/DeviceImageTable.cpp
core/libs/prx/libSceAgcDriver/tests/execution/HeapComputeSample.cpp
core/libs/prx/libSceAgcDriver/tests/execution/HeapDrawSample.cpp
core/libs/prx/libSceAgcDriver/tests/execution/HeapSampleKernel.hpp
core/libs/prx/libSceAgcDriver/tests/execution/HeapTableStageReuse.cpp
core/libs/prx/libSceAgcDriver/tests/execution/TessellationSubmit.cpp
core/shader/recompiler/DeviceImageTableAbi.hpp
core/shader/recompiler/HeapTemplateBudget.hpp
core/shader/recompiler/tests/HeapTemplateBudgetTests.cpp
PR 254 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Draw/HeapStages.hpp
core/libs/prx/libSceAgcDriver/Execution/include/Driver/Draw/HeapWalkMemo.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/HeapStages.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/BindlessHeap.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/DescriptorHeapObjects.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/DeviceImageKeys.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/DeviceImageTable.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/BindlessHeap.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/DescriptorHeapObjects.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/DeviceImageKeys.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/DeviceImageTable.cpp
core/libs/prx/libSceAgcDriver/tests/BindlessHeapSlots.cpp
core/libs/prx/libSceAgcDriver/tests/DeviceImageKeys.cpp
core/libs/prx/libSceAgcDriver/tests/HeapWalkMemo.cpp
core/libs/prx/libSceAgcDriver/tests/cmake/agc_device_image_keys_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_bindless_images_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_buffer_atomics_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_buffer_format_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_compute_table_calls_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_depth_storage_dispatch_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_device_image_path_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_device_image_table_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_dispatch_move_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_draw_data_hit_user_words_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_draw_relocate_user_values_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_fragment_user_data_tail_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_gpu_indirect_arguments_misaligned_writer_ahead_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_gpu_indirect_arguments_written_ahead_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_heap_compute_sample_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_heap_draw_sample_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_heap_slots_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_heap_walk_memo_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_atomics64_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_atomics_bitwise_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_atomics_float_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_atomics_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_cache_bits_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_gather_one_dimensional_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_load_packed_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_sample_border_color_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_sample_derivatives_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_sample_shared_sampler_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_sint8_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_srgb_load_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_store_array_through_volume_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_store_face_on_cube_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_store_float_rounding_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_store_line_through_plane_array_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_store_line_through_plane_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_store_packed_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_store_sint_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_store_unorm_rounding_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_store_volume_through_array_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_table_cache_bounds_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_image_texel_status_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_indirect_arguments_written_ahead_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_indirect_patched_stage_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_lds_beyond_device_limit_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_mesh_draw_relocation_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_mesh_index_cache_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_mesh_provoking_vertex_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_pixel_barycentric_emulation_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_rect_list_indirect_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_storage_flush_ordering_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_storage_one_slice_alias_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_tessellation_submit_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_view_past_last_mip_tests.cmake
core/libs/prx/libSceAgcDriver/tests/execution/DeviceFunctionCache.cpp
core/libs/prx/libSceAgcDriver/tests/execution/DeviceImagePath.cpp
core/libs/prx/libSceAgcDriver/tests/execution/DeviceImageTable.cpp
core/libs/prx/libSceAgcDriver/tests/execution/HeapComputeSample.cpp
core/libs/prx/libSceAgcDriver/tests/execution/HeapDrawSample.cpp
core/libs/prx/libSceAgcDriver/tests/execution/HeapSampleKernel.hpp
core/libs/prx/libSceAgcDriver/tests/execution/HeapTableStageReuse.cpp
core/libs/prx/libSceAgcDriver/tests/execution/TessellationSubmit.cpp
core/shader/recompiler/DeviceImageTableAbi.hpp
core/shader/recompiler/HeapTemplateBudget.hpp
core/shader/recompiler/tests/HeapTemplateBudgetTests.cpp
PR 591 core/libs/prx/libSceAgcDriver/Graphics/include/DeviceImageKeys.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DeviceImageKeys.cpp
core/libs/prx/libSceAgcDriver/tests/DeviceImageKeys.cpp
core/libs/prx/libSceAgcDriver/tests/cmake/agc_device_image_keys_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_bindless_images_tests.cmake
core/shader/recompiler/DeviceImageTableAbi.hpp
PR 803 core/libs/prx/libSceAgcDriver/Graphics/include/DeviceImageKeys.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DeviceImageKeys.cpp
core/libs/prx/libSceAgcDriver/tests/DeviceImageKeys.cpp
core/libs/prx/libSceAgcDriver/tests/cmake/agc_device_image_keys_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_bindless_images_tests.cmake
core/shader/recompiler/DeviceImageTableAbi.hpp
PR 984 core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_mesh_draw_relocation_tests.cmake
PR 2157 core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_buffer_format_tests.cmake
PR 2219 core/libs/prx/libSceAgcDriver/Graphics/include/DeviceImageKeys.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DeviceImageKeys.cpp
core/libs/prx/libSceAgcDriver/tests/DeviceImageKeys.cpp
core/libs/prx/libSceAgcDriver/tests/cmake/agc_device_image_keys_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_bindless_images_tests.cmake
core/shader/recompiler/DeviceImageTableAbi.hpp
PR 2234 core/libs/prx/libSceAgcDriver/Graphics/include/DeviceImageKeys.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DeviceImageKeys.cpp
core/libs/prx/libSceAgcDriver/tests/DeviceImageKeys.cpp
core/libs/prx/libSceAgcDriver/tests/cmake/agc_device_image_keys_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_bindless_images_tests.cmake
core/shader/recompiler/DeviceImageTableAbi.hpp
PR 2366 core/libs/prx/libSceAgcDriver/Graphics/include/DeviceImageKeys.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DeviceImageKeys.cpp
core/libs/prx/libSceAgcDriver/tests/DeviceImageKeys.cpp
core/libs/prx/libSceAgcDriver/tests/cmake/agc_device_image_keys_tests.cmake
core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_bindless_images_tests.cmake
core/shader/recompiler/DeviceImageTableAbi.hpp

@github-actions github-actions Bot added the needs rebase Conflicts with main, rebase needed label Dec 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs rebase Conflicts with main, rebase needed unblocks title Names a title ID on the Unblocks line

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants